<template>

    <van-slider v-model="value" @change="onChange" />




</template>
<script>

    import { Toast } from 'vant';

    export default {
        data() {
            return {
                value: 50,
            };
        },
        methods: {
            onChange(value) {
                Toast('当前值：' + value);
            },
        },
    };



</script>